package org.singledog.form.builder.datasource.dto;

import lombok.Data;

@Data
public class BasicKVPair {

    /**
     * key 即为 下拉框的 value
     */
    private String key;
    /**
     * value 为下拉框的  label
     */
    private String value;
    private boolean selected = false;

    public BasicKVPair() {
    }

    public BasicKVPair(String key, String value, boolean selected) {
        this.key = key;
        this.value = value;
        this.selected = selected;
    }
}
